package com.lzw.breezeNovel.WebAdmin.vo;


import com.lzw.breezeNovel.model.entity.pojo.novel.Chapter;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author qfmy
 *  用于返回给前端
 *  */
@Data
@AllArgsConstructor
@NoArgsConstructor
@SuppressWarnings("all")
public class BookVo {

    @Schema(description = "小说id")
    private Long bookId;

    @Schema(description = "小说名")
    private String bookName;

    @Schema(description = "小说作者")
    private String author;

    @Schema(description = "小说状态")
    private String status;

    @Schema(description = "小说封面")
    private String imgUrl;

    @Schema(description = "小说类型")
    private String type;

    @Schema(description = "是否推荐")
    private Boolean isRecommend;

    @Schema(description = "章节列表")
    private List<Chapter> chapters;

    @Schema(description = "创建时间")
    private String createTime;
}
